package com.weimob.cloud.api.crm.client;

import com.dtflys.forest.annotation.BaseRequest;
import com.dtflys.forest.annotation.JSONBody;
import com.dtflys.forest.annotation.Post;
import com.weimob.cloud.api.common.WeimobCloudRsp;
import com.weimob.cloud.api.crm.req.WeimobCrmPointAdjustReq;
import com.weimob.cloud.api.crm.rsp.WeimobCrmPointAdjustRsp;
import com.weimob.cloud.api.token.interceptor.WeimobTokenInterceptor;

/**
 * 微明云平台CRM积分管理客户端接口
 */
@BaseRequest(baseURL = "https://dopen.weimob.com/apigw/weimob_crm/v2.0/point", interceptor = WeimobTokenInterceptor.class)
public interface WeimobCrmPointClient {

    /**
     * 调整积分
     */
    @Post(url = "/adjust?accesstoken=${accessToken}")
    WeimobCloudRsp<WeimobCrmPointAdjustRsp> pointAdjust(@JSONBody WeimobCrmPointAdjustReq req);
}
